﻿using SqlSugar;

namespace PMIS.WebApi.Model
{
    [SugarTable("sys_role", TableDescription = "角色")]
    public class Role : BaseModel
    {
        [SugarColumn(ColumnDescription = "ID", IsPrimaryKey = true)]
        public string Id { get; set; }

        [SugarColumn(ColumnDescription = "角色名称")]
        public string Name { get; set; }

        [SugarColumn(ColumnDescription = "排序")]
        public int? Sort { get; set; } = 1;

        [SugarColumn(ColumnDescription = "状态")]
        public int? Status { get; set; } = 1;

        [SugarColumn(ColumnDescription = "备注", IsNullable = true)]
        public string? Remark { get; set; }
    }
}
